@layout("/common/_container.html",{js:["/assets/storeProcurement/storeProcurement.js"]}){
<div class="layui-body-header">
    <span class="layui-body-header-title">出库订单表管理</span>
</div>

<style>
    .layui-elem-field legend {
        margin-left: 20px;
        padding: 0 10px;
        font-size: 15px;
        font-weight: 300;
    }
</style>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <button id="btnSubmission" class="layui-btn icon-btn layui-btn-normal"><i class="layui-icon">&#xe642;</i>提交</button>
                                <button id="btnSubmission2" class="layui-btn icon-btn layui-btn-normal"><i class="layui-icon">&#xe642;</i>提交2</button>
                                <button id="btnTovoid" class="layui-btn icon-btn layui-btn-danger"><i class="layui-icon">&#x1006;</i>作废</button>
                            </div>
                            <div class="layui-inline">
                                <select id="timeType">
                                    <option value="cj">创建时间</option>
                                    <option value="ps">配送日</option>
                                </select>
                            </div>
                            <div class="layui-inline" style="width: 150px;">
                                <input id="startTime" class="layui-input" autocomplete="off" type="text" placeholder="开始时间从"/>
                            </div>
                            <div class="layui-inline">
                                一
                            </div>
                            <div class="layui-inline" style="width: 150px;">
                                <input id="endTime" class="layui-input" autocomplete="off" type="text" placeholder="结束时间至"/>
                            </div>
                            <div class="layui-inline">
                                <select id="customerId">
                                    <option value="">选择客户</option>
                                    @for(item in customerlist!){
                                    <option value="${item.id}">${item.customerName}</option>
                                    @}
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="setWarehouseId">
                                    <option value="">选择仓库</option>
                                    @for(item in basicWarehouseList!){
                                    <option value="${item.id}">${item.warehouseName}</option>
                                    @}
                                </select>
                            </div>
                            <div class="layui-inline">
                                <input id="getUnit" class="layui-input" type="text" placeholder="收货客户"/>
                                <button type="button" class="layui-btn layui-btn-primary" id="choiceGetUnit" style="position: absolute;right: 1px;cursor: pointer;top: 2px"><i class="layui-icon">&#xe615;</i></button>
                            </div>
                            <div class="layui-inline">
                                <input id="condition" class="layui-input" type="text" placeholder="单号"/>
                            </div>
                            <div class="layui-inline">
                                <select id="orderType">
                                    <option value="">选择类型</option>
                                    <option value="门店调出">门店调出</option>
                                    <option value="采购退货">采购退货</option>
                                    <option value="批发销售">批发销售</option>
                                    <option value="调整出库">调整出库</option>
                                    <option value="仓间调拨">仓间调拨</option>
                                    <option value="盘亏出库">盘亏出库</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <input id="goodsName" class="layui-input" type="text" placeholder="商品档案"/>
                                <button type="button" class="layui-btn layui-btn-primary" id="choiceGoods" style="position: absolute;right: 1px;cursor: pointer;top: 2px"><i class="layui-icon">&#xe615;</i></button>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索111</button>
                                <button id="reset" class="layui-btn icon-btn layui-btn-primary"><i class="layui-icon">&#xe666;</i>重置</button>
                                <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
                                <button id="btnExpimport" class="layui-btn icon-btn"><i class="layui-icon">&#xe67c;</i>导入</button>
                                <button id="pullxlbOutapplicationorder" class="layui-btn icon-btn"><i class="layui-icon">&#xe601;</i>拉取新零帮出库申请单</button>
                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
                                <button id="pulltcslOutapplicationorder" class="layui-btn icon-btn"><i class="layui-icon">&#xe601;</i>拉取天财商龙出库申请单</button>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 0px;margin: 10px 0 0px;">
                                    <legend>商品数：<span id="goodsNum">0</span></legend>
                                </fieldset>
                            </div>
                            <div class="layui-inline">
                                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 0px;margin: 10px 0 0px;">
                                    <legend>数量：<span id="outNum">0</span></legend>
                                </fieldset>
                            </div>
                            <div class="layui-inline">
                                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 0px;margin: 10px 0 0px;">
                                    <legend>体积：<span id="outVolume">0</span></legend>
                                </fieldset>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="storeProcurementTable" lay-filter="storeProcurementTable"></table>
                    <table class="layui-table" id="storeProcurementDetailedTable" lay-filter="storeProcurementDetailedTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>


<script type="text/html" id="toolbarfromDetailed">
    <div class="layui-inline">
        <input id="condition2" class="layui-input" type="text" placeholder="关键词"/>
    </div>
    <div class="layui-inline">
        <button id="btnSearchDetailed" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
        <button id="btnAddDetailed" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>新增</button>
    </div>
</script>
<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
</script>

<script type="text/html" id="tableBarDetailed">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="editDetailed" id="editDetailed">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="deleteDetailed" id="deleteDetailed">删除</a>
</script>



@}